#include <iostream>
using namespace std;
int main()
{
    int a = 1;
    char *p = (char *)&a;
    if (*p == 1)
        cout << "小端" << endl;
    else
        cout << "大端" << endl;
    return 0;
}